package com.ssy.lingxi.contract.api.model.vo.request;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 支付请款请求参数VO
 * @author 伍将
 * @date 2021/3/24
 * @version 2.0.0
 */
public class PayApplyAmountVO implements Serializable {
    private static final long serialVersionUID = 4555895540944718487L;

    /**
     * 请款id
     */
    @NotNull(message = "请款id不能为空")
    @Positive(message = "请款id不能为空")
    private Long applyId;
    /**
     * 操作人.
     */
    private UserLoginCacheDTO user;

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public UserLoginCacheDTO getUser() {
        return user;
    }

    public void setUser(UserLoginCacheDTO user) {
        this.user = user;
    }
}
